//
//  ZCLoginViewModel.h
//  ZCJZ
//
//  Created by sujeking on 2019/2/25.
//  Copyright © 2019年 jeking. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SKWebServiceErrorCode.h"
@interface ZCLoginViewModel : NSObject

//
+ (void)sendVirfiyCodeWithPhoneNum:(NSString *)phoneNum
                              type:(NSInteger)type
                          complete:(void (^)(ZCErrorCode status, NSString *message,id data))block;

+ (void)loginServerWithUserName:(NSString *)userName
                       passWord:(NSString *)passWord
                       complete:(void (^)(ZCErrorCode status, NSString *message,id data))block;

/// 店主注册
+ (void)registAcountServerWithInfo:(NSMutableDictionary *)info
                          complete:(void (^)(ZCErrorCode status, NSString *message,id data))block;

/// 重置密码
+ (void)resetPasswordWithInfo:(NSMutableDictionary *)info
                     complete:(void (^)(ZCErrorCode status, NSString *message,id data))block;

/// 获取购物车数量
+ (void)fetchShoppingCarNumWithComplete:(void (^)(ZCErrorCode status, NSString *message,id data))block;


/// 进入微折购用户注册协议
+ (void)loadFileDesOneVC;
/// 微折购隐私政策
+ (void)loadFileDesTwoVC;

@end
